"""Api_ject URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import *
from Api_ject import *
from api_App.views import *
from django.views.generic import TemplateView
from api_App.views_api import *

urlpatterns = [
    path('admin/',admin.site.urls),
    # path('',Db_login)
    path('',DB_notice_1),
    path('login_action/',DB_denglu),
    path('zhuce_action/',DB_zhuce),
    path('home/',index_),
    path('DB_notice_datas/',DB_GET_DATE),
    path('login_out/',login_out),
    path('get_DB_GET_DATE/',get_DB_GET_DATE),
    path('accounts/login/',login_out),
    path('get_DATE/',get_DATE),
    path('add_project/',add_project),
    path('get_apis/',get_apis),
    path('get_dck/',get_dck),
    path('set_dck/',set_dck),
    path('add_apis/',add_apis),
    path('remove_ac/',remove_ac),
    path('add_configure/',add_configure),
    path('save_configure/',save_configure),
    path('up_configure/',up_configure),
    path('down_configure/',down_configure),
    path('up_api/', up_api),
    path('down_api/', down_api),
    path('save_api/', save_api),
    path('send_api/', send_api),
    path('upload_binary_file/', upload_binary_file),
    path('upload_fd_file/', upload_fd_file),
    path('get_user_par/', get_user_par),
    path('download_api/', download_api),
    path('doing_api/', doing_api),
    path('run/', run),
    path('test/',test_A),
    path('test_B/',test_B),
    path('clear_all_reports/', clear_all_reports),
    path('get_all_reports/', get_all_reports),

    path('get_monitor_list/',get_monitor_list),
    path('save_monitor/', save_monitor),
    path('change_monitor_status/', change_monitor_status),
    path('add_monitor/', add_monitor),
    path('delete_monitor/', delete_monitor),
    path('change_monitor_status/', change_monitor_status),
    path('import_api_ad/', import_api_ad),
    path('jx_apiDoc/', jx_apiDoc),

    # ------------------------------------------------ 权限系统可以管理的接口，但不一定监管 （接口path只有一级，且path和函数名必须同名）
    re_path('(?P<path>.+)/', diy_power),


]
